import {SceneMode, type SkyAtmosphere, type SkyBox} from "cesium";

export interface pointProps {
    name: string //唯一name属性 获取唯一entity实例 切勿重复
    lng: number,
    lat: number,
    value?: string, //文字内容
    iconType?: string |'primary' | 'success' | 'warning' | 'danger' | 'iconSuccess' //点图标
    label?: string //窗体文字内容
    labelIconType?: string | 'primary_label' | 'success_label' | 'warning_label' | 'danger_label' | 'iconSuccess_label' //窗体图标
}

export interface centerPosition {
  lng?: number //经度
  lat?: number //纬度
  height?: number //视角高度
}

export interface controlStatusType {
  timeline?: boolean //时间轴控件
  animation?: boolean //动画控件
  geocoder?: boolean //地理编码搜索框
  homeButton?: boolean //初始视图
  sceneModePicker?: boolean //场景模式切换
  baseLayerPicker?: boolean //底图图层选择器
  navigationHelpButton?: boolean //导航帮助按钮
  fullscreenButton?: boolean //全屏按钮
  // imageryProvider?: boolean //默认的影像图层
  skyBox?: SkyBox //天空盒（星空背景）
  skyAtmosphere?: SkyAtmosphere //大气效果
  sceneMode?: SceneMode //3D 模式
  scene3DOnly?: boolean //强制使用 3D 模式
  orderIndependentTranslucency?: boolean //顺序无关半透明
  selectionIndicator?: boolean //point高亮框
}

export const pointInfo = [
  {
    name: 'a',
    lng: 113.808156,
    lat: 22.636116,
    value: '寶',
    iconType: 'danger',
    label: '深圳宝安国际机场',
    labelIconType: 'danger_label'
  },
  {
    name: 'dad',
    lng: 113.815194,
    lat: 22.666691,
    value: '区',
    iconType: 'warning',
    label: '怀德社区',
    labelIconType: 'warning_label'
  },
  {
    name: 'b',
    lng: 113.79202,
    lat: 22.672869,
    value: '山',
    iconType: 'primary',
    label: '虾山涌',
    labelIconType: 'primary_label'
  },
  {
    name: 'c',
    lng: 113.829785,
    lat: 22.663998,
    value: '峰',
    iconType: 'primary',
    label: '美林峰',
    labelIconType: 'primary_label'
  }
];
